﻿#ifndef UNITMANAGER_H
#define UNITMANAGER_H

#include <common/baseeditor_dialog.h>

namespace Ui {
class UnitManager;
}

class UnitManager : public BaseEditorDialog
{
    Q_OBJECT

public:
    explicit UnitManager(QWidget *parent = 0);
    ~UnitManager();

    void generateMenu();
    void updateCategory();
    void removeItem();

private slots:
    void on_listView_doubleClicked(const QModelIndex &index);

private:
    Ui::UnitManager *ui;

    QStringListModel *listModel;
};

#endif // UNITMANAGER_H
